package com.yaoxun.console.xo.dto;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class RouterDefinition {

	private String id;

	private String uri;
	
	private List<Predicate> predicates = new ArrayList<>();

	private List<FilterDefinition> filters = new ArrayList<>();

	private Map<String, Object> metadata = new HashMap<>();

	private int order = 0;
	
	private long createTimestamp;

	private long modifyTimestamp;
	
	private String createLoginName;
	
	private String modifyLoginName;
	
}
